﻿<Window x:Class="memoUI.KnowledgeTestEditorWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:memoUI"
        mc:Ignorable="d"
        Title="Knowledge Test Editor" Height="300" Width="600" WindowStyle="None" Icon="Images/DesktopLogo.png" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Background="Green">
    <Grid Margin="5" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="25"/>
        </Grid.RowDefinitions>

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <TextBlock x:Name="QuestionTypeTextBlock" Text="Question Type:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,5"  />
            <ComboBox x:Name="QuestionTypeComboBox" HorizontalAlignment="Left" Margin="5,25" VerticalAlignment="Top" Width="120" IsEditable="False" SelectionChanged="QuestionTypeComboBox_SelectionChanged"/>
            <TextBlock x:Name="QuestionTextBlock" Text="Question:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,55"  />
            <Image x:Name="QuestionImage" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,75,5,5" Source="Images/DEFAULT.png" Stretch="Fill" MouseDown="QuestionImage_MouseDown"/>
            <TextBox x:Name="QuestionTextBox" Text="" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,75,5,5" />

            <TextBlock x:Name="AnswerTypeTextBlock" Text="Answer Type:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,5" Grid.Column="1"/>
            <ComboBox x:Name="AnswerTypeComboBox" HorizontalAlignment="Left" Margin="5,25" VerticalAlignment="Top" Width="120" IsEditable="False" Grid.Column="1" SelectionChanged="AnswerTypeComboBox_SelectionChanged"/>
            <TextBlock x:Name="AnswerTextBlock" Text="Answer:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,55" Grid.Column="1"/>
            <Image x:Name="AnswerImage" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,75,5,5" Source="Images/DEFAULT.png" Stretch="Fill" Grid.Column="1" MouseDown="AnswerImage_MouseDown"/>
            <TextBox x:Name="AnswerTextBox" Text="" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,75,5,5" Grid.Column="1"/>
        </Grid>



        <Button x:Name="SaveButton" Content="Save" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,10,5"  Width="75" Background="Green" Click="SaveButton_Click" Grid.Row="1"/>
        <Button x:Name="CancelButton" Content="Cancel" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,90,5"  Width="75" Background="Red" Click="CancelButton_Click" Grid.Row="1" />

    </Grid>
</Window>
